package com.anti.modular.bus.basicinformation.service;

import com.anti.jdbc.support.page.PageParam;
import com.anti.jdbc.support.page.PageResult;
import com.anti.modular.bus.basicinformation.entity.BasicInformation;
import com.anti.modular.bus.basicinformation.param.BasicInformationParam;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * 基础资料service接口
 *
 * @author anti
 * @date 2021-04-07 19:24:48
 */
public interface BasicInformationService{

    /**
    * 根据主键查询实体
    */
    BasicInformation getById(BasicInformationParam basicInformationParam);

    BasicInformation getBasicInformationById(Integer id);
    /**
     * 查询基础资料
     *
     * @author anti
     * @date 2021-04-07 19:24:48
     */
    PageResult page(PageParam pageParam,BasicInformationParam basicInformationParam);

    /**
     * 基础资料列表
     *
     * @author anti
     * @date 2021-04-07 19:24:48
     */
    List<BasicInformation> list();

    /**
     * 添加基础资料
     *
     * @author anti
     * @date 2021-04-07 19:24:48
     */
    void add(BasicInformationParam basicInformationParam);

    /**
     * 删除基础资料
     *
     * @author anti
     * @date 2021-04-07 19:24:48
     */
    void delete(BasicInformationParam basicInformationParam);

    /**
     * 编辑基础资料
     *
     * @author anti
     * @date 2021-04-07 19:24:48
     */
    void edit(BasicInformationParam basicInformationParam);

    /**
     * 查看基础资料
     *
     * @author anti
     * @date 2021-04-07 19:24:48
     */
     BasicInformation detail(BasicInformationParam basicInformationParam);

}
